package com.lizhi.yun.sync.rsz.controller;/**
 * @program: hbsf_yun
 * @name RszGameTrainSyncController
 * @description:
 * @author: lizhi
 * @create: 2021-11-10 13:42
 */

import com.lizhi.yun.sync.rsz.handler.RszGameTrainSyncHandler;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *@program: hbsf_yun
 *@name RszGameTrainSyncController
 *@description:
 *@author: lizhi
 *@create: 2021-11-10 13:42
 */
@RestController
@RequestMapping(value = "/api/sync/gameTrain")
public class RszGameTrainSyncController {

    @Resource
    private RszGameTrainSyncHandler rszGameTrainSyncHandler;

    @PostMapping(path = "/recv")
    public String recv(@RequestBody String json){
        return rszGameTrainSyncHandler.recv(json);
    }
}
